#include <iostream>
#include "Queue.h"

using namespace std;

int main( void )
{
	Strumpan::Queue< int > intQueue;

	for( int i = 1; i < 10; i++ )
	{
		intQueue.Push_Back( i*10 );
	}


	Node<int> temp;
	for( int i = 0; i < 9; i++ )
	{
		temp = intQueue.Pop();
		cout << "Position " << i << " contained: " << temp.info << endl;

	}

	temp = intQueue.Pop();
	cout << "Next in queue: " << temp.info << endl;

	cin.get();
	return 0;
}